home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / libx11 / include / x11 / xaw / grip.h < prev    next >
C/C++ Source or Header  |  1999-01-01  |  3KB  |  82 lines

  1. /* $XConsortium: Grip.h,v 1.18 91/07/26 19:42:40 converse Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  5. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  6.  
  7.                         All Rights Reserved
  8.  
  9. Permission to use, copy, modify, and distribute this software and its 
  10. documentation for any purpose and without fee is hereby granted, 
  11. provided that the above copyright notice appear in all copies and that
  12. both that copyright notice and this permission notice appear in 
  13. supporting documentation, and that the names of Digital or MIT not be
  14. used in advertising or publicity pertaining to distribution of the
  15. software without specific, written prior permission.  
  16.  
  17. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  18. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  19. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  20. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24.  
  25. ******************************************************************/
  26.  
  27. /*
  28.  *  Grip.h - Public Definitions for Grip widget (used by VPane Widget)
  29.  *
  30.  */
  31.  
  32. #ifndef _XawGrip_h
  33. #define _XawGrip_h
  34.  
  35. #include <X11/Xaw/Simple.h>
  36.  
  37. /***************************************************************************
  38.  *
  39.  * Grip Widget 
  40.  *
  41.  **************************************************************************/
  42.  
  43. /* Parameters:
  44.  
  45.  Name             Class        RepType        Default Value
  46.  ----             -----        -------        -------------
  47.  foreground         Foreground        Pixel        XtDefaultForeground
  48.  border             BorderColor    Pixel        XtDefaultForeground
  49.  borderWidth         BorderWidth    Dimension    0
  50.  callback         Callback        Pointer        GripAction
  51.  cursor             Cursor        Cursor        None
  52.  cursorName         Cursor        String        NULL
  53.  destroyCallback     Callback        Pointer        NULL
  54.  height             Height        Dimension    8
  55.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  56.  pointerColor         Foreground        Pixel        XtDefaultForeground
  57.  pointerColorBackground Background    Pixel        XtDefaultBackground
  58.  sensitive         Sensitive        Boolean        True
  59.  width             Width        Dimension    8
  60.  x             Position        Position    0
  61.  y             Position        Position    0
  62.  
  63. */
  64.  
  65. #define XtNgripTranslations "gripTranslations"
  66.  
  67. typedef struct _XawGripCallData {
  68.   XEvent *event;        /* the event causing the GripAction */
  69.   String *params;        /* the TranslationTable params */
  70.   Cardinal num_params;        /* count of params */
  71. } XawGripCallDataRec, *XawGripCallData,
  72.     GripCallDataRec, *GripCallData; /* supported for R4 compatibility */
  73.  
  74. /* Class Record Constant */
  75.  
  76. extern WidgetClass gripWidgetClass;
  77.  
  78. typedef struct _GripClassRec *GripWidgetClass;
  79. typedef struct _GripRec      *GripWidget;
  80.  
  81. #endif /* _XawGrip_h */
  82.